package com.example.designpatterns.structural.adapter;

/**
 * 客户端代码（具体使用）
 *
 * @author scott
 */
public class Client {

    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle();
        Shape shape = new RectangleAdapter(rectangle);
        shape.draw();
    }

}
